package com.jml.aop.jdk动态代理.springannotation;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;


public class MainTest {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AopConfig.class);
		UserService bean = context.getBean(UserService.class);
		bean.add();
	}
}
